home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: Jens M Andreasen <jens-and@dsv.su.se>
- Newsgroups: comp.lang.c.moderated,comp.lang.c
- Subject: Re: ada-like naming scheme?
- Date: 29 Mar 1996 22:01:00 -0600
- Organization: Digital Solutions
- Sender: clc@solutions.solon.com
- Approved: clc@solutions.solon.com
- Message-ID: <4jibls$8am@solutions.solon.com>
- References: <4j41gd$nij@solutions.solon.com> <4ja3md$p5e@solutions.solon.com>
- NNTP-Posting-Host: solutions.solon.com
-
-
-
- On 26 Mar 1996, Richard Krehbiel wrote:
-
- > > ada.text_io.get(x);
- -<snip>-
- > > integer_sort.quicksort(int_array);
- > > integer_sort.selection_sort(int_array);
- >
-
- > >From curiosity, why not just adopt a naming convention that prepends
- > the package/module names to the function name? Why not simply call
- > them int_sort_quicksort() and float_sort_quicksort()?
- >
- With a slight change, the dot.approach could be useful if the app at an
- earlier stage had realized what method to use and changed the pointer
- accordingly. (integer.sort)
-
- // Jens M Andreasen
-